package cn.edu.zut.cs.DAO;

import cn.edu.zut.cs.Model.Book;

import java.util.List;

public interface BookDAO {
    void insertBook(Book book);
    void insertAll(List<Book> bookList);

    void deleteBook(Book book);
    void deleteAll(List<Book> bookList);
    void deleteById(String id);

    void modifyBook(Book book);

    Book queryOneBook(Book book);
    Book queryOneBookById(String id);
    List<Book> queryALL();
}
